package com.newtouch.xcd.common.utils.vo;

import java.util.Comparator;

/**
 * 时间范围排序类
 */
public class TimeRangeItemComparator implements Comparator<TimeRangeItem> {


    @Override
    public int compare(TimeRangeItem o1, TimeRangeItem o2) {
        return o1.getStartTime().compareTo(o2.getStartTime());
    }
}
